package com.shooker.factory.abstractfactory.util;

import com.shooker.factory.abstractfactory.service.ICommand;
import com.shooker.factory.abstractfactory.service.IConnection;
import com.shooker.factory.abstractfactory.service.IDataBaseUtils;
import com.shooker.factory.abstractfactory.service.impl.MySqlCommand;
import com.shooker.factory.abstractfactory.service.impl.MySqlConnected;

public class MySqlDataBaseUtil implements IDataBaseUtils {

    @Override
    public IConnection getConnection() {
        return new MySqlConnected();
    }

    @Override
    public ICommand getCommand() {
        return new MySqlCommand();
    }
}
